<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
	String se_user_name="";
	if(session.getAttribute("session_user_name")!=null){
		se_user_name = session.getAttribute("session_user_name").toString();
	}
%>
 
<%
	if(se_user_name.equals("")){
%>

function loginRedirect(){
	location.href='/data/html/login.html? '+location.href;
}

document.write("<li class='comment_li'><span class='comment_li_link'>");
document.write("<a href='javascript:loginRedirect();'>");
document.write("<b>登录</b></a></span>(请登录发言，并遵守<span class='comment_sp1'>相关规定</span>)</li>");

<%
  }else{
%>

document.write("<li class='comment_li' style=width:300px;margin-left:30px; ><span class='comment_li_link'>您好<b><%=se_user_name%></b>,欢迎登录!</span></li>");
<%
	}
%>





